<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="app">
        {{msg}}
        <div id="text" v-text="msg"></div>
        <input type="text" v-model="msg"> 
    </div>
</body>
<script src="./assets/vue/dep.js"></script>
<script src="./assets/vue/watcher.js"></script>
<script src="./assets/vue/compiler.js"></script>
<script src="./assets/vue/observer.js"></script>
<script src="./assets/vue/vue.js"></script>
<script>
    let vm = new Vue({
        el:'#app',
        data:{
            msg:'Hello world',
            count:'bbb',
            person:{
                name:'小张',
            }
        }
    })
     
    console.log(vm.msg)
    // vm.msg = {test:'Hello'}
</script>
</html>